package network;

public class ErrorMsg extends NetworkMsg {

	private static final long serialVersionUID = 1L;
	private String error;
	
	public ErrorMsg(String error){
		super(Type.Error);
		this.setError(error);
	}

	/**
	 * @param error the error to set
	 */
	public void setError(String error) {
		this.error = error;
	}

	/**
	 * @return the error
	 */
	public String getError() {
		return error;
	}
}
